package com.xuecheng.swagger.controller;

import com.xuecheng.swagger.pojo.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lenovo
 * date: 2022/6/14 22:44
 * Description:
 */
@Api(value = "Hello Controller",tags = "Hello Api 服务测试",description = "对 Hello Api 服务提供接口")
public interface HelloInterface {

    @ApiOperation("修改学员信息 ")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id",value = "学员的id值",paramType = "path"),
            @ApiImplicitParam(name ="name",value = "学员的姓名",paramType = "query"),
            @ApiImplicitParam(name ="student",value = "学员的实体类",paramType = "body")

    })
    Student mofidyStudentBynNum(String id,
                                String name,
                                Student student);
}
